﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<DTOSingTowerMall.IStore>>" %>
       <table class="liststores">
         <tr>
         <%if (Model.Count() !=0) {%>
            <th class="storename">
                StoreName
            </th>
            <th>
                Store Identifier
            </th>
            <th>
                 Level
            </th>
            <th>
                Location
            </th>
        </tr>
            <%} %>
    <% foreach (var item in Model) { %>
         <tr>
            <td class="storename">
                <%: item.StoreName %>
            </td>
            <td>
                 # <%: item.StoreBlock.Level %> - <%: item.StoreID %>
            </td>
            <td>
                <%: item.StoreBlock.Level %>
            </td>
            <td>
                <%: item.StoreBlock.Location %>
            </td>
        </tr>
    <% } %>

    </table>

    <p> Partial View:Search results rendered on <%=DateTime.Now %></p>




